package de.busschedule.entities;

import java.util.Arrays;

public class BusLine{
	private String id;
	private String type;
	private String number;
	private String source;
	private String destination;
	private String[] stops;
	private String via;
	private String description;
	private String color;
	private String filepath;
	
	public BusLine(){}

	public BusLine(String id, String type, String number, String source, String destination,
			String[] stops, String via, String description, String color, String filepath){
		super();
		this.id = id;
		this.type = type;
		this.number = number;
		this.source = source;
		this.destination = destination;
		this.stops = stops;
		this.via = via;
		this.description = description;
		this.color = color;
		this.filepath = filepath;
	}

	public String getId(){
		return id;
	}

	public void setId(String id){
		this.id = id;
	}

	public String[] getStops(){
		return stops;
	}

	public void setStops(String[] stops){
		this.stops = stops;
	}

	public String getNumber(){
		return number;
	}

	public void setNumber(String number){
		this.number = number;
	}

	public String getSource(){
		return source;
	}

	public void setSource(String source){
		this.source = source;
	}

	public String getDestination(){
		return destination;
	}

	public void setDestination(String destination){
		this.destination = destination;
	}

	public String getVia(){
		return via;
	}

	public void setVia(String via){
		this.via = via;
	}

	public String getDescription(){
		return description;
	}

	public void setDescription(String description){
		this.description = description;
	}

	public String getColor(){
		return color;
	}

	public void setColor(String color){
		this.color = color;
	}

	public String getType(){
		return type;
	}

	public void setType(String type){
		this.type = type;
	}
	

	public String getFilepath(){
		return filepath;
	}

	public void setFilepath(String filepath){
		this.filepath = filepath;
	}

	@Override
	public String toString(){
		return "BusLine [id=" + id + ", type=" + type + ", number=" + number
				+ ", source=" + source + ", destination=" + destination
				+ ", stops=" + Arrays.toString(stops) + ", via=" + via
				+ ", description=" + description + ", color=" + color + "]";
	}
}
